package org.testmyapp.print;

import java.util.ArrayList;
import java.util.List;

import org.testmyapp.LoginServlet;
import org.testmyapp.SessionCheckedHttpServlet;
import org.testmyapp.tasks.TaskServlet;

public class LoginPrint {

	public static List<String> printLogoutButton() {

		List<String> htmlInitial = new ArrayList<String>();
		htmlInitial.add("<form action=\"" + SessionCheckedHttpServlet.redirectTo + "\" method=\"post\">");
		htmlInitial.add("<input type=\"hidden\" name=\"logout\" value=\"logout\">");
		htmlInitial.add("<input type=\"submit\" value=\"Logout\" name=\"logout_submit\"></form>");
		
		return htmlInitial;
	}

}
